package com.SpringBo.login.mapper;

import com.SpringBo.login.entity.Account;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

public interface AccountMapper extends BaseMapper<Account> {

    @Select("select count(0) from account where username=#{username} and password=#{password}")
    Integer count(Account account);
}
